//package com.hippo.provider.controller.drools;
//
//import com.hippo.core.pojo.entity.RuleWarnDetail;
//import com.hippo.core.pojo.vo.result.BaseResult;
//import com.hippo.drools.fact.Order;
//import com.hippo.provider.service.WarningRuleService;
//import io.swagger.v3.oas.annotations.Operation;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
///**
// * @ClassName OrderPayController
// * @Description TODO
// * @Author tangxl
// * @create 2023-04-03 16:18
// **/
//@Tag(name = "规则校验", description = "规则校验")
//@RestController
//@RequestMapping("/rule")
//public class WarnRuleController {
//
//    @Autowired
//    private WarningRuleService warningRuleService;
//    @Operation(summary = "预警规则校验")
//    @PostMapping(value = "/warnRuleCheck")
//    public BaseResult warnRuleCheck(@RequestBody RuleWarnDetail warnRuleDetail) {
//        return warningRuleService.warnRuleCheck(warnRuleDetail);
//    }
//
//    @Operation(summary = "订单规则")
//    @PostMapping(value = "/orderRule")
//    public BaseResult orderRule(@RequestBody Order order) {
//        return warningRuleService.orderRule(order);
//    }
//}
